package br.ufpe.cin.camid.remote.distribution.protocol;

import java.io.Serializable;
import java.util.Map;
import java.util.TreeMap;

public class RequestMessage implements Serializable 
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 4142121418251385467L;

	private Map<String, Object> requestContext;
	
	private String definitionName;
	
	private String objectId;
	
	private String method;
	
	private Object[] params;

	public RequestMessage()
	{
		requestContext = new TreeMap<String,Object>();
	}
	
	public Map<String, Object> getRequestContext() {
		return requestContext;
	}
	
	public String getDefinitionName() {
		return definitionName;
	}

	public void setDefinitionName(String definitionName) {
		this.definitionName = definitionName;
	}

	public String getObjectId() {
		return objectId;
	}

	public void setObjectId(String objectId) {
		this.objectId = objectId;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public Object[] getParams() {
		return params;
	}

	public void setParams(Object[] params) {
		this.params = params;
	}
	
}
